// token管理
export const GetToken = () => {
  return localStorage.getItem("Token");
};
/**
 *
 * @param token
 * @returns
 */
export const SetToken = (token: string) => {
  return localStorage.setItem("Token", token);
};

// 清理Token缓存
export const ClearToken = () => {
  localStorage.removeItem("Token");
  return true;
};

// 清理所有缓存
export const ClearStorage = () => {
  localStorage.clear();
  return true;
};
